﻿using CommunityToolkit.Mvvm.ComponentModel;

namespace ZoneLine.PlcMaster
{
    public class ValidateConfigModel : ObservableObject
    {
        private string _stationName;
        /// <summary>
        /// 工位名称
        /// </summary>
        public string StationName
        {
            get { return _stationName; }
            set => SetProperty(ref _stationName, value);
        }

        private int _enableValidate;
        /// <summary>
        /// 是否启用验证
        /// </summary>
        public int EnableValidate { get { return _enableValidate; } set => SetProperty(ref _enableValidate, value); }

        private int _stationNum;

        /// <summary>
        /// 工位序号
        /// </summary>
        public int StationNum
        {
            get { return _stationNum; }
            set => SetProperty(ref _stationNum, value);
        }

        private int _validataType;
        /// <summary>
        /// 验证方式
        /// </summary>
        public int ValidateType
        {
            get { return _validataType; }
            set => SetProperty(ref _validataType, value);
        }

        private string _validateParas;
        /// <summary>
        /// 验证参数
        /// </summary>
        public string ValidateParas
        {
            get { return _validateParas; }
            set => SetProperty(ref _validateParas, value);
        }

    }
}
